<div id="editStoreAdsModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel"
    aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-body">
                <h3 class="m-t-none m-b ">修改</h3>
                <div class="ibox-content">
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">广告名称</label>
                        <div class="col-sm-10">
                            <input v-model="editStoreAdsInfo.adName" type="text" placeholder="必填，请填写广告名称"
                                class="form-control">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">广告类型</label>
                        <div class="col-sm-10">
                            <select class="custom-select" v-model="editStoreAdsInfo.adTypeCd">
                                <option selected disabled value="">必填，请选择广告类型</option>
                                <option v-for="(item,index) in editStoreAdsInfo.adTypes" :value="item.statusCd">
                                    {{item.name}}
                                </option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">顺序</label>
                        <div class="col-sm-10">
                            <input v-model="editStoreAdsInfo.seq" type="text" placeholder="必填，请填写顺序"
                                class="form-control">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">开始时间</label>
                        <div class="col-sm-10">
                            <input v-model="editStoreAdsInfo.startTime" type="text" placeholder="必填，请填写开始时间"
                                class="form-control editStartTime">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">结束时间</label>
                        <div class="col-sm-10">
                            <input v-model="editStoreAdsInfo.endTime" type="text" placeholder="必填，请填写结束时间"
                                class="form-control editEndTime">
                        </div>
                    </div>
                
                    <div class="form-group row" v-if="editStoreAdsInfo.advertType != 3">
                        <label class="col-sm-2 col-form-label">链接地址</label>
                        <div class="col-sm-10">
                            <input v-model="editStoreAdsInfo.pageUrl" type="text" placeholder="选填，请填写链接地址"
                                class="form-control">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">广告图片</label>
                        <div class="content-img col-sm-10">
                            <vc:create path="frame/uploadImageUrl" callBackListener="editStoreAds"
                                callBackFunction="notifyUploadCoverImage" namespace="editStoreAds" imageCount="1">
                            </vc:create>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <button class="btn btn-primary float-right" type="button" v-on:click="editStoreAds()">
                            <i class="fa fa-check"></i>&nbsp;保存
                        </button>
                        <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                            data-dismiss="modal">
                            <i class="fa fa-close"></i>&nbsp;取消
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>